﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// Pictures
	/// </summary>
    [Serializable]
	public class PicturesData
	{
		/// <summary>
		/// PictureID
        /// </summary>
        [FieldName("PictureID")]		
		public int PictureID
		{
			get;
			set;
		}
        
		/// <summary>
		/// TouristID
        /// </summary>
        [FieldName("TouristID")]		
		public int? TouristID
		{
			get;
			set;
		}
        
		/// <summary>
		/// PictureURL
        /// </summary>
        [FieldName("PictureURL")]		
		public string PictureURL
		{
			get;
			set;
		}
        
		/// <summary>
		/// PictureDescription
        /// </summary>
        [FieldName("PictureDescription")]		
		public string PictureDescription
		{
			get;
			set;
		}
        
		/// <summary>
		/// UploadDate
        /// </summary>
        [FieldName("UploadDate")]		
		public DateTime UploadDate
		{
			get;
			set;
		}
        
        public PicturesData Clone()
        {
            return (PicturesData)this.MemberwiseClone();
        }
        
        public PicturesData()
        {
            PictureURL = string.Empty;
            PictureDescription = string.Empty;
            UploadDate = ConvertHelper.DefaultDate;
        }
	}
}
